package com.party.mapper;

import com.party.model.Curriculum;
import com.party.model.CurriculumExample;
import com.party.model.LearningContent;
import com.party.model.LearningContentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface LearningContentMapper {
    int countByExample(LearningContentExample example);

    int deleteByExample(LearningContentExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LearningContent record);

    int insertSelective(LearningContent record);

    List<LearningContent> selectByExample(LearningContentExample example);

    LearningContent selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") LearningContent record, @Param("example") LearningContentExample example);

    int updateByExample(@Param("record") LearningContent record, @Param("example") LearningContentExample example);

    int updateByPrimaryKeySelective(LearningContent record);

    int updateByPrimaryKey(LearningContent record);

    List<LearningContent> getListPage(LearningContentExample example);
    int getListPageCount(LearningContentExample example);
    List<LearningContent> getListByCurrId(Integer currId);
    List<LearningContent> getListByCurrTitle(String title);

}